﻿/*----------------------------------------------------------------
//  <copyright file="UserLoginOutputDto.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-19 09:45</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.Identity.Dtos
{
    #region "输出DTO：OAuth2登录信息"
    /// <summary>
    /// 输出DTO：OAuth2登录信息
    /// </summary>
    [MapFrom(typeof(UserLogin))]
    public class UserLoginOutputDto : IOutputDto
    {
        #region "属性"
        #region "获取或设置 编号"
        /// <summary>
        /// 获取或设置 编号
        /// </summary>
        public long Id { get; set; }
        #endregion

        #region "获取或设置 用户编号"
        /// <summary>
        /// 获取或设置 用户编号
        /// </summary>
        public long UserId { get; set; }
        #endregion

        #region "获取或设置 登录提供程序"
        /// <summary>
        /// 获取或设置 登录提供程序
        /// </summary>
        public string LoginProvider { get; set; }
        #endregion
        #region "获取或设置 显示名称"
        /// <summary>
        /// 获取或设置 显示名称
        /// </summary>
        public string DisplayName { get; set; }
        #endregion
        #region "获取或设置 头像"
        /// <summary>
        /// 获取或设置 头像
        /// </summary>
        public string Avatar { get; set; }
        #endregion

        #region "获取或设置 创建时间"
        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
        #endregion

        #endregion

    }
    #endregion

}
